/**
 * @Auto generation code
 * 回单操作接口
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, loading
 * getReceiptList - GET
 */
export const getReceiptList = async (, {// path params
		id   // id ,必填 
	
}, {// query params
		start ,   // start  
		limit  = param.default ,   // limit  
		status   // status  
	
}, loading) => {
	return await request.get('/service/order/${id}/receipt', {
		 start,  limit,  status, 
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 创建一条新的回单 - POST
 */
export const reciptOrder = async (, {// path params
		id   // 订单ID ,必填 
	
}, loading) => {
	return await request.post('/service/order/${id}/receipt', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * getReceiptDetail - GET
 */
export const getReceiptDetail = async (, {// path params
		id ,   // id ,必填 
		orderId   // orderId ,必填 
	
}, loading) => {
	return await request.get('/service/order/${orderId}/receipt/${id}', {
		
	}, loading)
}

